var stats = {
    type: "GROUP",
name: "All Requests",
path: "",
pathFormatted: "group_missing-name-b06d1",
stats: {
    "name": "All Requests",
    "numberOfRequests": {
        "total": "81787",
        "ok": "78648",
        "ko": "3139"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "0",
        "ko": "459"
    },
    "maxResponseTime": {
        "total": "31605",
        "ok": "31605",
        "ko": "17204"
    },
    "meanResponseTime": {
        "total": "3342",
        "ok": "3086",
        "ko": "9757"
    },
    "standardDeviation": {
        "total": "5173",
        "ok": "5103",
        "ko": "1406"
    },
    "percentiles1": {
        "total": "166",
        "ok": "138",
        "ko": "10000"
    },
    "percentiles2": {
        "total": "7719",
        "ok": "5064",
        "ko": "10001"
    },
    "percentiles3": {
        "total": "13350",
        "ok": "13408",
        "ko": "10003"
    },
    "percentiles4": {
        "total": "17285",
        "ok": "17304",
        "ko": "10030"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 53338,
    "percentage": 65
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 1144,
    "percentage": 1
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 24166,
    "percentage": 30
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 3139,
    "percentage": 4
},
    "meanNumberOfRequestsPerSecond": {
        "total": "373.457",
        "ok": "359.123",
        "ko": "14.333"
    }
},
contents: {
"req_busca-inva-lida-b5618": {
        type: "REQUEST",
        name: "busca inválida",
path: "busca inválida",
pathFormatted: "req_busca-inva-lida-b5618",
stats: {
    "name": "busca inválida",
    "numberOfRequests": {
        "total": "4190",
        "ok": "4023",
        "ko": "167"
    },
    "minResponseTime": {
        "total": "1",
        "ok": "1",
        "ko": "1882"
    },
    "maxResponseTime": {
        "total": "23090",
        "ok": "23090",
        "ko": "10030"
    },
    "meanResponseTime": {
        "total": "3503",
        "ok": "3237",
        "ko": "9895"
    },
    "standardDeviation": {
        "total": "5300",
        "ok": "5240",
        "ko": "888"
    },
    "percentiles1": {
        "total": "137",
        "ok": "112",
        "ko": "10001"
    },
    "percentiles2": {
        "total": "8291",
        "ok": "6503",
        "ko": "10001"
    },
    "percentiles3": {
        "total": "13583",
        "ok": "13875",
        "ko": "10001"
    },
    "percentiles4": {
        "total": "17262",
        "ok": "17351",
        "ko": "10013"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 2785,
    "percentage": 66
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 25,
    "percentage": 1
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 1213,
    "percentage": 29
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 167,
    "percentage": 4
},
    "meanNumberOfRequestsPerSecond": {
        "total": "19.132",
        "ok": "18.37",
        "ko": "0.763"
    }
}
    },"req_busca-va-lida-d7f0d": {
        type: "REQUEST",
        name: "busca válida",
path: "busca válida",
pathFormatted: "req_busca-va-lida-d7f0d",
stats: {
    "name": "busca válida",
    "numberOfRequests": {
        "total": "9590",
        "ok": "9158",
        "ko": "432"
    },
    "minResponseTime": {
        "total": "2",
        "ok": "2",
        "ko": "1098"
    },
    "maxResponseTime": {
        "total": "31600",
        "ok": "31600",
        "ko": "10054"
    },
    "meanResponseTime": {
        "total": "3819",
        "ok": "3537",
        "ko": "9791"
    },
    "standardDeviation": {
        "total": "5437",
        "ok": "5396",
        "ko": "1246"
    },
    "percentiles1": {
        "total": "211",
        "ok": "171",
        "ko": "10001"
    },
    "percentiles2": {
        "total": "9681",
        "ok": "7954",
        "ko": "10001"
    },
    "percentiles3": {
        "total": "13848",
        "ok": "14077",
        "ko": "10003"
    },
    "percentiles4": {
        "total": "17920",
        "ok": "17988",
        "ko": "10029"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 6082,
    "percentage": 63
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 82,
    "percentage": 1
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 2994,
    "percentage": 31
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 432,
    "percentage": 5
},
    "meanNumberOfRequestsPerSecond": {
        "total": "43.79",
        "ok": "41.817",
        "ko": "1.973"
    }
}
    },"req_criac-a-o-ce502": {
        type: "REQUEST",
        name: "criação",
path: "criação",
pathFormatted: "req_criac-a-o-ce502",
stats: {
    "name": "criação",
    "numberOfRequests": {
        "total": "54639",
        "ok": "52099",
        "ko": "2540"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "0",
        "ko": "459"
    },
    "maxResponseTime": {
        "total": "31605",
        "ok": "31605",
        "ko": "17204"
    },
    "meanResponseTime": {
        "total": "3967",
        "ok": "3686",
        "ko": "9742"
    },
    "standardDeviation": {
        "total": "5483",
        "ok": "5452",
        "ko": "1458"
    },
    "percentiles1": {
        "total": "217",
        "ok": "181",
        "ko": "10000"
    },
    "percentiles2": {
        "total": "9992",
        "ok": "8348",
        "ko": "10001"
    },
    "percentiles3": {
        "total": "14059",
        "ok": "14200",
        "ko": "10003"
    },
    "percentiles4": {
        "total": "17416",
        "ok": "17481",
        "ko": "10030"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 33859,
    "percentage": 62
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 368,
    "percentage": 1
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 17872,
    "percentage": 33
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 2540,
    "percentage": 5
},
    "meanNumberOfRequestsPerSecond": {
        "total": "249.493",
        "ok": "237.895",
        "ko": "11.598"
    }
}
    },"req_consulta-5d76b": {
        type: "REQUEST",
        name: "consulta",
path: "consulta",
pathFormatted: "req_consulta-5d76b",
stats: {
    "name": "consulta",
    "numberOfRequests": {
        "total": "13368",
        "ok": "13368",
        "ko": "0"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "0",
        "ko": "-"
    },
    "maxResponseTime": {
        "total": "3212",
        "ok": "3212",
        "ko": "-"
    },
    "meanResponseTime": {
        "total": "395",
        "ok": "395",
        "ko": "-"
    },
    "standardDeviation": {
        "total": "608",
        "ok": "608",
        "ko": "-"
    },
    "percentiles1": {
        "total": "56",
        "ok": "56",
        "ko": "-"
    },
    "percentiles2": {
        "total": "687",
        "ok": "687",
        "ko": "-"
    },
    "percentiles3": {
        "total": "1758",
        "ok": "1758",
        "ko": "-"
    },
    "percentiles4": {
        "total": "2098",
        "ok": "2098",
        "ko": "-"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 10612,
    "percentage": 79
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 669,
    "percentage": 5
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 2087,
    "percentage": 16
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 0,
    "percentage": 0
},
    "meanNumberOfRequestsPerSecond": {
        "total": "61.041",
        "ok": "61.041",
        "ko": "-"
    }
}
    }
}

}

function fillStats(stat){
    $("#numberOfRequests").append(stat.numberOfRequests.total);
    $("#numberOfRequestsOK").append(stat.numberOfRequests.ok);
    $("#numberOfRequestsKO").append(stat.numberOfRequests.ko);

    $("#minResponseTime").append(stat.minResponseTime.total);
    $("#minResponseTimeOK").append(stat.minResponseTime.ok);
    $("#minResponseTimeKO").append(stat.minResponseTime.ko);

    $("#maxResponseTime").append(stat.maxResponseTime.total);
    $("#maxResponseTimeOK").append(stat.maxResponseTime.ok);
    $("#maxResponseTimeKO").append(stat.maxResponseTime.ko);

    $("#meanResponseTime").append(stat.meanResponseTime.total);
    $("#meanResponseTimeOK").append(stat.meanResponseTime.ok);
    $("#meanResponseTimeKO").append(stat.meanResponseTime.ko);

    $("#standardDeviation").append(stat.standardDeviation.total);
    $("#standardDeviationOK").append(stat.standardDeviation.ok);
    $("#standardDeviationKO").append(stat.standardDeviation.ko);

    $("#percentiles1").append(stat.percentiles1.total);
    $("#percentiles1OK").append(stat.percentiles1.ok);
    $("#percentiles1KO").append(stat.percentiles1.ko);

    $("#percentiles2").append(stat.percentiles2.total);
    $("#percentiles2OK").append(stat.percentiles2.ok);
    $("#percentiles2KO").append(stat.percentiles2.ko);

    $("#percentiles3").append(stat.percentiles3.total);
    $("#percentiles3OK").append(stat.percentiles3.ok);
    $("#percentiles3KO").append(stat.percentiles3.ko);

    $("#percentiles4").append(stat.percentiles4.total);
    $("#percentiles4OK").append(stat.percentiles4.ok);
    $("#percentiles4KO").append(stat.percentiles4.ko);

    $("#meanNumberOfRequestsPerSecond").append(stat.meanNumberOfRequestsPerSecond.total);
    $("#meanNumberOfRequestsPerSecondOK").append(stat.meanNumberOfRequestsPerSecond.ok);
    $("#meanNumberOfRequestsPerSecondKO").append(stat.meanNumberOfRequestsPerSecond.ko);
}
